# $Id: PKGBUILD 65957 2012-02-22 13:57:58Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# This PKGBUILD was autocreated.  See http://xtermin.us/archperl/ for details
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-text-markdown
pkgver=1.000031
pkgrel=3
pkgdesc="Perl/CPAN Module Text::Markdown"
arch=("any")
url="http://search.cpan.org/dist/Text-Markdown"
license=("GPL" "PerlArtistic")
options=()
source=("http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/Text-Markdown-$pkgver.tar.gz")
md5sums=('88ace17b0debebe88f0ea45a76c397ed')

build() {
  cd $srcdir/Text-Markdown-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
